package com.lxw.study.structural.adapter.inspring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class AdapterClient {
    @Autowired
    private LoggerAdapter loggerAdapter;

    public void doSomething() {
        loggerAdapter.log("hello");
    }
}
